package com.jeeplus.netty.proto;


import java.io.Serializable;
import java.util.Date;


import io.protostuff.Tag;

/**
 * 用户信息类
 *
 * @ClassName: User
 * @author XRQ
 * @date 2019年4月30日
 */
public class User extends ProtoBuffInfoBase
{
    private static final long serialVersionUID = 1L;

    // 用户ID
    @Tag(2)
    private int userId;

    // 用户类型
    @Tag(3)
    private int userTypeId;

    // 用户名
    @Tag(4)
    private String userName;

    // 创建时间
    @Tag(5)
    private Date createDateTime;

    public int getUserId()
    {

        return userId;
    }

    public void setUserId(int userId)
    {

        this.userId = userId;
    }

    public int getUserTypeId()
    {

        return userTypeId;
    }

    public void setUserTypeId(int userTypeId)
    {

        this.userTypeId = userTypeId;
    }

    public String getUserName()
    {

        return userName;
    }

    public void setUserName(String userName)
    {

        this.userName = userName;
    }

    public Date getCreateDateTime()
    {

        return createDateTime;
    }

    public void setCreateDateTime(Date createDateTime)
    {

        this.createDateTime = createDateTime;
    }
}